Accessibility settings

Published on in Vol 28 (2026)

This is a member publication of King's College London (Jisc)

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/93164, first published .
Characterizing Physical Activity Trajectories Preceding Incident Major Depressive Disorder Diagnosis With Consumer Wearable Devices in the All of Us Research Program: Retrospective Nested Case-Control Study

Characterizing Physical Activity Trajectories Preceding Incident Major Depressive Disorder Diagnosis With Consumer Wearable Devices in the All of Us Research Program: Retrospective Nested Case-Control Study

Characterizing Physical Activity Trajectories Preceding Incident Major Depressive Disorder Diagnosis With Consumer Wearable Devices in the All of Us Research Program: Retrospective Nested Case-Control Study

1Department of Biostatistics & Health Informatics, Institute of Psychiatry, Psychology and Neuroscience, King's College London, SGDP Centre, IoPPN, De Crespigny Park, Denmark Hill London, London, United Kingdom

2Institute of Health Informatics, University College London, London, United Kingdom

3NIHR Biomedical Research Centre at South London and Maudsley, NHS Foundation Trust, London, United Kingdom

4NIHR Biomedical Research Centre at University College London Hospitals, NHS Foundation Trust, London, United Kingdom

5Health Data Research UK, University College London, London, United Kingdom

6Clinical Research Center & Division of Mood Disorders, Shanghai Mental Health Center, Shanghai Jiao Tong University School of Medicine, Shanghai, China

7Department of Computer Science, University of Sheffield, Sheffield, United Kingdom

8Boehringer Ingelheim Pharmaceuticals, Inc., Ridgefield, CT, United States

9Department of Biomedical and Health Informatics, University of Washington, Seattle, WA, United States

Corresponding Author:

Richard JB Dobson, PhD


Background: Low physical activity (PA) is a well-established risk factor for major depressive disorder (MDD). However, the temporal dynamics of PA preceding an incident clinical diagnosis of MDD remain poorly characterized, particularly using long-term, objective measures collected in real-world settings.

Objective: This study aimed to characterize trajectories of wearable-measured PA during the year preceding incident MDD diagnosis and identify the timing of within-person changes.

Methods: We conducted a retrospective nested case-control study using linked electronic health record and wearable (Fitbit) data from the All of Us Research Program. Adults with at least 6 months of valid Fitbit PA data in the 12 months preceding diagnosis were included. Incident MDD cases were identified based on a first electronic health record–recorded diagnosis and matched to MDD-free controls on age, sex, BMI, and calendar time of diagnosis, with up to 4 controls per case. Daily steps and moderate to vigorous PA (MVPA) were aggregated into monthly averages. Linear mixed-effects models were used to compare prediagnostic PA trajectories between cases and controls over a retrospective time scale from −12 to 0 months. Among cases, within-person contrasts were used to identify when PA levels first showed statistically significant deviations relative to levels observed 12 months before diagnosis. Exploratory analyses assessed heterogeneity by demographic factors.

Results: The analytic cohort included 4104 participants (n=829, 20.2% incident MDD cases and n=3275, 79.8% matched controls; n=3355, 81.7% women; median age 48.4, IQR 36.3-61.3 years). Compared with controls, individuals who developed MDD exhibited consistently lower overall PA and significant downward trajectories in both daily steps and MVPA during the year preceding diagnosis (global trajectory tests; P<.001 for both outcomes). Differences widened progressively over time, indicating accelerating declines as diagnosis approached. Among cases, statistically significant changes in daily step counts emerged approximately 4 months before diagnosis (−145, 95% CI −253 to −37 steps vs month −12; P=.02) and reached −428 (95% CI −531 to −326) steps at diagnosis (P<.001). Declines in MVPA emerged approximately 5 months before diagnosis (−2.48, 95% CI −4.32 to −0.64 minutes; P=.02) and reached −5.61 (95% CI −7.35 to −3.86) minutes at diagnosis (P<.001). Furthermore, exploratory analyses suggested heterogeneity in prediagnostic trajectories across demographic subgroups, including steeper declines among men, more pronounced reductions in activity intensity at older ages, and persistently lower activity levels with flatter trajectories among individuals with obesity.

Conclusions: Unlike prior studies lacking objective PA assessment before MDD diagnosis, this study linked wearable and clinical data to characterize long-term prediagnostic trajectories in real-world settings. We observed sustained within-person declines emerging 4 to 5 months before diagnosis, providing insights into temporal dynamics preceding clinical recognition. These findings suggest that wearable-based monitoring may offer scalable early signals for risk stratification, prevention, and intervention for MDD.

J Med Internet Res 2026;28:e93164

doi:10.2196/93164

Keywords



Major depressive disorder (MDD) is a leading cause of disability worldwide [1] and is associated with substantial adverse outcomes, including premature mortality [2], functional impairment [3], increased medical comorbidity [4], and suicide [5]. Given its substantial individual and societal burden [1], early identification of MDD is critical. Preventive strategies [6] and early interventions [7] may be most effective during the prodromal or initial stages. However, symptoms of MDD in the prodromal or early stages are often difficult to detect in routine clinical practice, contributing to delays in diagnosis [8,9]. This highlights the need for objective and scalable approaches to characterize changes preceding clinical recognition of MDD.

Low physical activity (PA) has been identified as a risk factor for MDD in prospective cohort studies and meta-analyses [10-12], with longitudinal evidence indicating that reductions in PA may precede worsening depressive symptoms [13]. These patterns may reflect the underlying biological and behavioral processes implicated in MDD, including alterations in psychomotor, inflammatory, and neuroendocrine functioning [14-16]. In this context, changes in PA may precede clinical recognition of MDD. However, much of the large-scale epidemiological existing evidence relies on self-reported PA, which is subject to recall bias [11], or on accelerometer-based assessments conducted over short durations or at infrequent follow-up time points [17]. Consequently, current studies provide limited insights into the timing and pattern of PA changes preceding a clinical MDD diagnosis. In particular, it remains unclear when PA begins to deviate from an individual’s prior level and whether these changes vary across population subgroups. Addressing these questions requires longitudinal, objective measures of PA collected in real-world settings. Linking these data to clinical diagnostic information enables characterization of behavior changes prior to diagnosis as illness unfolds in routine care.

Advances in sensor technology and the widespread adoption of consumer wearable devices have enabled passive, continuous monitoring of real-world PA at scale. Devices such as Fitbit trackers capture daily step counts and activity intensity over extended periods with minimal user burden [18,19], representing key correlates of functioning and psychomotor activity [14]. Recent mobile health studies have demonstrated negative associations between objectively measured PA and depression severity [20-23], suggesting that such measures may complement symptom-based assessments by informing risk stratification and prompting earlier clinical evaluation. Nevertheless, prior mobile health studies have been limited by modest sample sizes, relatively short monitoring durations, or the absence of linkage to clinical diagnoses [20]. As a result, the temporal dynamics of objectively measured PA prior to clinical MDD diagnosis remain insufficiently characterized.

Few large-scale datasets integrate long-term wearable data with electronic health records (EHRs) in a manner that enables examination of prediagnostic PA trajectories and subgroup heterogeneity. The All of Us Research Program (AoURP) provides such an integrated resource, comprising a large, ongoing national cohort in which participants consent to share EHRs, health surveys, biospecimens, physical measurements, and wearable data [24]. By linking historical and prospective Fitbit data with EHR-based diagnoses, this study enables examination of long-term PA trajectories preceding clinical MDD diagnosis. The primary aim of this study was to characterize trajectories of wearable-measured PA during the 12 months preceding incident MDD diagnosis and identify the timing of within-person deviations from prior habitual PA levels. The secondary aim was to assess whether the patterns of prediagnostic PA changes vary across population subgroups.


Data Source

We used data from the AoURP, an ongoing national longitudinal cohort funded by the US National Institutes of Health [24] with the long-term goal of enrolling at least 1 million participants. The study design and data collection procedures have been described previously [24,25].

This analysis used the controlled tier dataset, version 8 (C2024Q3R8), including participants enrolled between May 2017 and October 2023. Participant demographics and baseline data were collected during the digital enrollment. For participants who consented to share EHR and Fitbit data, their historical (pre-enrollment) EHR and Fitbit data were made available through their participating health care provider organizations and linked Google Fitbit accounts, respectively [24-26]. In this data version, 36,614 individuals had linked EHR and Fitbit data available.

Ethical Considerations

This study was a secondary analysis of deidentified data obtained from the AoURP and did not involve direct interaction with human participants. In accordance with applicable regulations, this work was determined to be exempt from additional institutional review board review as it used existing, deidentified research data. Access to deidentified data was restricted to authorized study investigators who completed required All of Us Responsible Conduct of Research training, and all analyses were conducted within the secure, cloud-based Researcher Workbench environment. In accordance with the AoURP Data and Statistics Dissemination Policy [27] analytic results for groups with fewer than 20 participants were not reported to minimize the risk of participant reidentification.

All participants in the AoURP provided informed consent at enrollment, including consent for future secondary analyses of their data. Data privacy and confidentiality were protected through multiple safeguards, including secure cloud-based data storage, restricted access to deidentified data, and mandatory confidentiality and data use agreements. Participant compensation of US $25 for the collection of biological specimens (eg, blood, saliva, or urine) was provided by the AoURP in the form of cash payments, gift cards, or electronic vouchers as applicable. No images or figures included in the manuscript or supplementary materials contain information that could identify individual participants.

Measures and Covariates

Fitbit PA Data

PA in this study was quantified using daily step counts and moderate to vigorous PA (MVPA), which intuitively capture overall activity volume [28] and the activity intensity emphasized in established public health guidelines [29], respectively. Fitbit classifies activity intensity into device-defined categories using metabolic equivalent of task–based criteria, consistent with intensity frameworks widely adopted in research-grade accelerometry [30,31]. In this study, daily MVPA (minutes per day) was calculated as the sum of device-labeled “fairly active” minutes plus twice the number of “very active” minutes, consistent with established definitions [32].

To ensure data quality, only days with at least 10 hours of wear time and daily step counts between 100 and 45,000 were considered valid following prior AoURP studies [33-35]. Monthly averages of daily step counts and MVPA minutes were calculated to reduce day-to-day variability related to missingness and short-term fluctuations, consistent with prior AoURP analyses [33-35]. Months with more than 10 valid days were considered valid and retained for analysis [35].

Incident MDD Definition

Following definitions used in prior AoURP research [33,36], incident MDD cases were defined as participants whose first recorded MDD diagnosis occurred during their Fitbit monitoring period, with no prior MDD diagnosis. Diagnoses were identified from EHR data using standardized concept identifiers from the Observational Medical Outcomes Partnership Common Data Model, which harmonize diagnoses across vocabularies including the Systematized Nomenclature of Medicine; International Classification of Diseases, Ninth Revision, Clinical Modification; and International Classification of Diseases, Tenth Revision, Clinical Modification [37].

Covariates

Age, sex, and BMI were included as covariates given their established associations with both PA and risk of MDD [38].

Inclusion and Exclusion

Participants were required to be aged 19 years or older at the time of diagnosis to ensure that they were adults (≥18 years) throughout the 1-year prediagnostic observation period. In addition, individuals with any recorded diagnosis of bipolar disorder, schizophrenia, or schizoaffective disorder prior to the diagnosis date were excluded. The Observational Medical Outcomes Partnership concept identifiers used for inclusion and exclusion, along with their corresponding International Classification of Diseases, Ninth Revision, Clinical Modification, and International Classification of Diseases, Tenth Revision, Clinical Modification, codes, are provided in Table S1 in Multimedia Appendix 1. To ensure sufficient prediagnostic wearable data, cases were required to have at least 6 valid months of Fitbit PA data within the 12 months preceding the diagnosis month.

Sampling and Matching Procedures

A nested case-control design [39-41] was used to construct the comparison group. Cases and controls were matched at the diagnosis month (hereafter referred to as the matching month) on age (within 1 year), sex, and BMI category, which were selected a priori given their strong associations with both PA and depression risk. BMI was defined using the measurement closest to 1 year before the matching month to minimize potential influence of emerging MDD on body weight. Eligible controls were selected from the risk set of participants who were aged 19 years or older at the matching month and had no recorded MDD diagnosis. Under this risk set sampling design, controls were not required to remain free of MDD during subsequent follow-up, consistent with standard nested case-control methodology [39-41]. Participants with a prior diagnosis of bipolar disorder, schizophrenia, or schizoaffective disorder were excluded. Controls were also required to meet the same Fitbit PA data availability criteria as cases. For each case, up to 4 controls were selected, a ratio chosen to improve statistical efficiency while maintaining matching quality and consistency with prior trajectory-based nested case-control studies [39,40]. When more than 4 eligible controls were available, controls were randomly sampled without replacement within or between cases to avoid repeated use of the same individuals and to simplify the correlation structure of the longitudinal analyses [40]. Additional sociodemographic factors were not included in matching to avoid overmatching and preserve statistical efficiency.

Statistical Analysis

Linear mixed-effects models with participant-specific random intercepts were used to estimate PA trajectories over time, allowing for the inclusion of all available observations from eligible participants and accommodating missing data under a missing at random assumption. Formal testing of the missing completely at random assumption was not informative as missingness patterns were highly correlated across PA variables (eg, step count and MVPA were often missing concurrently). A retrospective time scale from −12 to 0 months was defined, with time 0 corresponding to the diagnosis month for cases and the matching month for controls. Models included case-control status (coded as 0 for controls and 1 for cases), linear and quadratic time terms (time and time squared), and their interaction terms, as well as matching variables. Quadratic terms were included to allow for potential nonlinear temporal patterns. Differences in trajectories between cases and controls were evaluated using time × case and time squared × case interaction terms, with a joint Wald test used to evaluate whether overall temporal patterns differed by case-control status. Model-derived marginal means were used to estimate and compare monthly trajectories between cases and controls. The statistical significance of between-group differences at each month was assessed using contrast P values, with P values adjusted for multiple comparisons using the Benjamini-Hochberg procedure [42].

Among individuals with incident MDD, marginal means were estimated for each month, and pairwise contrasts comparing each month with month −12 were used to identify when PA began to differ relative to the earliest month. To assess potential heterogeneity in prediagnostic PA trajectories, exploratory case-only models were extended to include interactions between time variables and subgroup indicators for sex, age, and BMI.

Sensitivity Analyses

To assess the robustness of our findings, we conducted prespecified sensitivity analyses. First, to evaluate whether device wear compliance differed between cases and controls, we examined trajectories of monthly valid Fitbit wear days over time. Linear mixed-effects models including time, group (case and controls), and their interaction were used to assess whether wear compliance declined differentially as diagnosis approached.

Second, to reduce potential confounding from intercurrent medical illness or injury, we excluded participants with newly recorded incident diagnoses of conditions known to affect PA within 1 year prior to diagnosis (or the matching month for controls), including musculoskeletal disorders (eg, fractures of the bone), acute cardiovascular events (eg, myocardial infarction, stroke, transient ischemic attack, and heart failure), and cancer (diagnostic codes are provided in Table S2 in Multimedia Appendix 1) and repeated the analyses in the restricted cohort.

Third, because incident MDD was defined based on the absence of prior EHR-documented diagnoses, the extent of available EHR history is an important consideration. Therefore, we quantified the duration of available EHR history prior to diagnosis (or matching month for controls), defined as the time between the first recorded EHR activity (eg, laboratory result, diagnosis, procedure, visit, or vital sign entry) and the MDD diagnosis date. To assess the robustness of our findings, we conducted sensitivity analyses restricted to participants (both cases and controls) with at least 5 and 10 years of available EHR history.


Participant Characteristics

This study included 4104 participants, comprising 829 (20.2%) individuals with incident MDD and 3275 (79.8%) matched controls. Participant selection and cohort construction are shown in Figure 1. The median age of the overall cohort was 48.4 (IQR 36.3‐61.3) years; 81.7% (n=3355) of the participants were women, and 82.5% (n=3384) were White individuals. Cases and controls had similar distributions of age, sex, BMI, race, and ethnicity, with all standardized mean differences below 0.1, indicating adequate balance between groups (Table 1). Included participants had a mean of 11.05 (SD 2.41) months of available wearable data during the 1-year prediagnostic window (13 months including the diagnosis month), corresponding to an overall missingness rate of 15.0%. Among cases, the median duration of available EHR history prior to diagnosis was 9.5 (IQR 4.7‐15.9) years.

Figure 1. Flowchart of participant selection and cohort construction for incident major depressive disorder (MDD) cases and matched controls in a nested case-control study using linked electronic health record (EHR) and Fitbit data from the All of Us Research Program.
Table 1. Baseline characteristics of adults with incident major depressive disorder and matched controls in a nested case-control study using linked electronic health record and wearable data from the All of Us Research Program (N=4104).
CharacteristicsOverallCase (n=829)Control (n=3275)SMDa
Ageb (y), median (IQR)48.4 (36.3-61.3)48.4 (36.2-61.2)48.4 (36.3-61.4)0.004
BMIc (kg/m2), median (IQR)29.9 (25.6-34.9)29.8 (25.6-35.4)29.9 (25.7-34.7)0.046
Women, n (%)3355 (81.7)676 (81.5)2679 (81.8)0.033
Race, n (%)0.098
 Black or African American271 (6.6)40 (4.8)231 (7.1)
 White3384 (82.5)691 (83.4)2693 (82.2)
 Otherd449 (10.9)98 (11.8)351 (10.7)
Ethnicity, n (%)0.025
 Hispanic or Latino267 (6.5)56 (6.8)211 (6.4)
 Not Hispanic or Latinoe3837 (93.5)773 (93.2)3064 (93.6)

aSMD: standardized mean difference. SMDs are presented as absolute values; values of less than 0.1 indicate negligible imbalance between groups.

bAge was defined at the diagnosis month for cases and the matched index month for controls.

cBMI was derived from measurements closest to 1 year before the diagnosis or matching month to minimize potential influence of emerging major depressive disorder on body weight.

dParticipants with missing, unknown, or less frequently reported race categories were grouped into the “other” category in accordance with All of Us data reporting policies.

eParticipants with missing or unknown ethnicity were grouped into the “Not Hispanic or Latino” category in accordance with All of Us data reporting policies.

PA Trajectories Preceding Incident MDD Diagnosis

The trajectories of daily step counts during 1 year preceding the matching month differed significantly between incident MDD cases and matched controls (Figure 2A). In mixed-effects models, controls exhibited a relatively stable trajectory, whereas cases showed a marked and accelerating decline as the diagnosis month approached. These differences were supported by significant linear and quadratic interaction terms (time × case: β=−92.08, 95% CI −126.14 to −58.02, P<.001; time squared × case: β=−5.47, 95% CI −8.23 to −2.70, P<.001), with a significant global test for trajectory differences (joint Wald test: P<.001; Table 2). Model-derived marginal means indicated that daily step counts were consistently lower among cases than controls at every month examined. As early as 12 months before diagnosis, estimated daily step counts were 7568 (95% CI 7330‐7806) steps among cases, compared with 8360 (95% CI 8240‐8480) steps among controls (contrast difference: −792, 95% CI −1058 to −525 steps; P<.001). This case-control gap widened progressively over time, reaching −1109 (95% CI −1374 to −845; P<.001) steps in the matching month, with estimated daily step counts of 7140 (95% CI 6904‐7376) steps among cases and 8249 (95% CI 8130‐8369) steps among controls (Table S3 in Multimedia Appendix 1).

Figure 2. Prediagnostic trajectories of (A) daily step counts and (B) moderate to vigorous physical activity (MVPA) during 1 year before incident major depressive disorder (MDD) diagnosis in a nested case-control study from the All of Us Research Program. Lines represent model-estimated mean trajectories derived from linear mixed-effects models for cases and matched controls over time, with shaded areas indicating 95% CIs.
Table 2. Linear mixed-effects models comparing prediagnostic trajectories of daily step counts and moderate to vigorous physical activity (MVPA) between incident major depressive disorder cases and matched controls in the All of Us Research Program.
Termβ (95% CI)P valueGlobal trajectory test, P valuea
Daily step count model (unit: steps)<.001
 Interceptb8249.57 (8130.24 to 8368.90)<.001
 Group × casec−1109.57 (−1373.76 to −845.39)<.001
 Timed3.66 (−11.58 to 18.90).64
 Time × casee−92.08 (−126.14 to −58.02)<.001
 Time squared1.07 (−0.16 to 2.30).09
 Time squared × casee−5.47 (−8.23 to −2.70)<.001
MVPA model (unit: min)<.001
 Intercept58.69 (56.82 to 60.55)<.001
 Group × case−11.35 (−15.48 to −7.22)<.001
 Time0.05 (−0.23 to 0.32).75
 Time × case−0.78 (−1.39 to −0.18).01
 Time squared0.02 (−0.00 to 0.04).08
 Time squared × case−0.04 (−0.09 to 0.01).10

aThe global trajectory test (joint Wald test) evaluated whether overall physical activity trajectories differed between cases and controls by jointly testing the interaction terms (time × case and time squared × case).

bThe intercept represents the estimated mean physical activity level for the reference group (controls) at the reference time point (month 0).

c“Group × case” represents the baseline difference between incident major depressive disorder cases and matched controls (case-control status).

dTime was modeled on a retrospective monthly scale from −12 to 0 months relative to the diagnosis (or matching) month.

e“Time × case” and “time squared × case” represent differential linear and quadratic changes in trajectories between cases and controls over time.

Similar patterns were observed for daily MVPA trajectories (Figure 2B). Compared with controls, cases exhibited consistently lower daily MVPA levels throughout the prediagnostic period. In mixed-effects models, divergence in MVPA trajectories was supported by a significant linear interaction (time × case: β=−0.78, 95% CI −1.39 to −0.18, P=.01) and a significant global test for trajectory differences (joint Wald test: P<.001; Table 2). Model-derived marginal means showed that, at 12 months before diagnosis, estimated daily MVPA was 52.9 minutes among cases (95% CI 49.2‐56.7) and 60.9 minutes among controls (95% CI 59.1‐62.8) (contrast P<.001). This difference increased over time and reached −11.35 minutes (95% CI −15.48 to −7.22; P<.001) in the matching month, with estimated daily MVPA of 47.3 minutes among cases (95% CI 43.7‐51.0) and 58.7 minutes among controls (95% CI 56.8‐60.6; Table S4 in Multimedia Appendix 1).

Within-Person PA Changes Before Diagnosis

To characterize the timing of within-person changes in PA preceding diagnosis, we conducted case-only marginal contrast analyses using 12 months before diagnosis (time=−12 months) as the reference. Among cases, daily step counts did not differ significantly from the reference level until 4 months before diagnosis. At −4 months, step counts were significantly lower than at −12 months (−145 steps, 95% CI −253 to −37; P=.02). Reductions became larger as diagnosis approached, reaching −428 steps in the matching month (95% CI −531 to −326; P<.001; Table S5 in Multimedia Appendix 1).

In terms of daily MVPA, levels among cases were significantly lower than the reference level by 5 months before diagnosis (time=−5 months; −2.48 minutes, 95% CI −4.32 to −0.64; P=.02). MVPA levels continued to decline over the prediagnostic period, reaching −5.61 minutes in the matching month (95% CI −7.35 to −3.86; P<.001; Table S6 in Multimedia Appendix 1).

Subgroup Analyses

Case-only mixed-effects models revealed significant heterogeneity in prediagnostic PA trajectories by sex, age, and BMI (Figure 3; Tables S7 and S8 in Multimedia Appendix 1). Men exhibited steeper declines in both daily step counts and MVPA than women, supported by significant linear and quadratic time-by-sex interaction terms (joint Wald tests: P<.001).

Figure 3. Subgroup-specific prediagnostic trajectories of physical activity during the 12 months before incident major depressive disorder (MDD) diagnosis in the All of Us Research Program. Panels show daily step counts and moderate to vigorous physical activity (MVPA) stratified by sex (A and B), age (C and D), and BMI (E and F). Lines represent model-estimated mean trajectories derived from linear mixed-effects models, with shaded areas indicating 95% CIs.

PA trajectories also varied significantly by age and BMI category (joint Wald tests: P<.001). Participants aged 60 years and older exhibited lower overall daily step counts and greater reductions in daily MVPA over time. Across BMI categories, participants with overweight and obesity had lower overall levels of daily steps and MVPA than those with normal BMI, and participants with obesity showed comparatively attenuated temporal declines in both outcomes (Figures 3E and 3F). The underweight group was excluded from subgroup analyses because of insufficient sample size.

Sensitivity Analyses

To assess whether device wear differed between cases and controls, we examined trajectories of monthly valid Fitbit wear days (Figure S1 in Multimedia Appendix 1). Wear days remained high and stable in both groups, with only a small between-group difference in average valid wear days per month (cases: 26.7, SD 5.3; controls: 27.0, SD 5.1 days per month). There was no evidence of a differential temporal decline in wear compliance (time × case: β=−0.007, 95% CI −0.032 to 0.018; P=.56).

Additional sensitivity analyses examined potential confounding from intercurrent medical conditions and variation in EHR history. Results were consistent with the primary analysis after excluding participants with newly recorded diagnoses of selected conditions that may affect PA within 1 year prior to diagnosis (n=713 in the restricted cohort; Table S9 in Multimedia Appendix 1). Similarly, results were consistent across strata of EHR history duration, including among participants with at least 5 and 10 years of EHR history prior to diagnosis (n=613 and n=319, respectively; Tables S10 and S11 in Multimedia Appendix 1).


Principal Findings

In the AoURP cohort with linked wearable and EHR data, we found that adults who later received an incident MDD diagnosis exhibited a marked, progressively steepening decline in PA during the year preceding diagnosis compared with matched controls. Importantly, PA levels began to deviate from individuals’ usual patterns approximately 4 to 5 months before clinical diagnosis. This suggests a clinically relevant window in which persistent within-person downward trajectories, rather than transient drops, may represent a more informative signal of emerging change. These findings suggest that longitudinal, objective PA monitoring may provide clinically interpretable insights into functioning and psychomotor behavior, although careful evaluation of potential confounding and subgroup heterogeneity is warranted.

Our findings extend prior evidence linking lower PA to subsequent MDD diagnosis. Prior prospective cohort studies [10-12,17], including work in the AoURP cohort [33], have consistently associated lower PA levels with a higher risk of incident MDD. This pattern was also observed in our analysis, with cases exhibiting lower PA levels than matched controls throughout the year preceding diagnosis. However, most prior studies have relied on self-reported measures or infrequent accelerometer assessments, limiting their ability to capture continuous, long-term, objectively measured PA trajectories prior to clinical diagnosis. In contrast, by using longitudinal wearable-measured PA data, this study provides additional insight by characterizing both between-group differences and within-person changes over time. Specifically, we identified two key patterns: (1) cases showed significantly sustained declines in PA relative to controls, and (2) within cases, PA deviated from habitual levels approximately 4 to 5 months before diagnosis.

Prodromal depressive features [43-45] such as fatigue, anhedonia, and sleep disturbance may partially contribute to these observed prediagnostic PA declines, which may, in turn, exacerbate mood and sleep through behavioral and biological pathways, potentially contributing to a self-reinforcing cycle [11,46]. However, because EHR-documented diagnosis likely occurs after symptom onset and care seeking [8], these findings should be interpreted with caution. The observed declines in PA may reflect prodromal processes, early symptomatic impairment, or both rather than implying causal or temporal primacy of PA changes in MDD development.

Clinically, the primary implication of longitudinal, objective PA monitoring is not to diagnose MDD but to provide an early, scalable prediagnostic signal of emerging vulnerability in routine care. Such signals could help trigger depression screening, preventive strategies, or early intervention. Although no established threshold currently defines a clinically actionable decline in PA for incident MDD, there is evidence from other clinical populations suggesting that changes of approximately 500 steps per day may be clinically or practically meaningful [47,48]. In this context, the approximately 400-step decline observed in our study is modest but approaches this range. However, PA is inherently variable and influenced by a range of external and behavioral factors [49,50]. As such, fixed thresholds may be susceptible to transient fluctuations arising from nonpathological causes. Instead, our findings highlight a clinically relevant window in which sustained, within-person declines over several months, reflected in both the magnitude and slope of change, may provide a more informative signal of emerging vulnerability. Furthermore, PA is both a potentially modifiable risk factor for depression [6,51,52] and a well-established component of interventions that reduce depressive symptoms among individuals with established MDD [53,54]. Therefore, regardless of whether observed PA declines reflect prodromal vulnerability or early symptomatic impairment, timely prevention or intervention may confer clinical benefit [10,11,53-56].

We also observed substantial heterogeneity in prediagnostic PA trajectories by sex, age, and BMI. Male participants experienced steeper declines in both step counts and MVPA than female participants. Several factors may contribute to this pattern, including higher average activity levels among men [57,58], delayed help seeking for mental health symptoms [59,60], and sex differences in the types and social contexts of PA [61]. Age-related differences were also evident: while lower step counts in older adults are consistent with established age-related mobility patterns, more pronounced reductions in MVPA may reflect greater sensitivity of higher-intensity activity to emerging depressive symptoms, functional limitations, or comorbid conditions in later life [62,63]. In addition, persistently lower activity and flatter trajectories among individuals with obesity may reflect barriers such as weight-related functional limitations, pain, or reduced motivation [64]. These interpretations remain exploratory and warrant further investigation.

These findings highlight the potential utility of integrating consumer wearables into routine clinical and public health workflows. Continuous, passive monitoring of PA may enable scalable identification of individuals exhibiting sustained, within-person declines over time, which could serve as early behavioral signals of emerging vulnerability to MDD. Such signals could be incorporated into digital health platforms or clinical decision support systems to support risk stratification, enable targeted prevention, and facilitate earlier intervention prior to formal diagnosis. At a population level, these approaches could enable earlier identification of individuals at higher risk; support more efficient allocation of health care resources; and, ultimately, reduce the broader societal burden of MDD [65,66].

Limitations

This study has several limitations. First, incident MDD was defined by the absence of EHR-documented diagnoses, consistent with prior AoURP methodologies [33,35,36], which may be influenced by the duration of available EHR history. Although sensitivity analyses restricted to longer EHR history yielded consistent results, left censoring and undiagnosed cases cannot be fully excluded. These are inherent limitations of EHR-based observational studies and warrant further investigation using complementary data sources and methods. Second, seasonality may influence both PA patterns and the timing of MDD onset [67]. In our study, cases and controls were matched on calendar time (matching month), which helps mitigate seasonal effects on between-group comparisons. However, seasonal influences on within-person trajectories cannot be fully excluded. Future studies incorporating more detailed environmental data may help further clarify these effects. Third, selection bias is also possible as inclusion required participants to have sufficiently long Fitbit monitoring histories and meet prespecified data completeness criteria, potentially limiting representativeness. Fourth, the study population was predominantly White, and the bring-your-own-device nature of Fitbit data contribution may have skewed the analytic sample toward more health-conscious or technologically engaged participants, potentially limiting generalizability. Fifth, missing data were handled under a missing at random assumption; however, in real-world wearable data, missingness may be influenced by unmeasured behavioral or contextual factors and, thus, may not fully satisfy this assumption. This represents a common challenge in mobile health studies and warrants further methodological investigation in future research.

Conclusions

In this large cohort with linked wearable and EHR data, we characterized long-term, prediagnostic trajectories of objectively measured PA preceding incident MDD diagnosis. This addresses a key gap in prior research, which has largely lacked objective, longitudinal data on PA trajectories before clinical diagnosis. We identified sustained, within-person declines emerging 4 to 5 months before diagnosis, providing new insights into the temporal dynamics of behavior change prior to clinical recognition and defining a potential window for early detection. In real-world settings, these findings suggest that longitudinal monitoring of PA using consumer wearable devices may offer scalable and actionable signals to support risk stratification, targeted prevention, and earlier intervention for MDD. However, careful consideration of confounding and subgroup heterogeneity remains essential.

Acknowledgments

The authors gratefully acknowledge the All of Us participants for their contributions, without whom this research would not have been possible. They also thank the National Institutes of Health’s All of Us Research Program for making available the participant data examined in this study. The authors declare the use of generative artificial intelligence (GenAI) in the research and writing process. According to the Generative Artificial Intelligence Delegation Taxonomy (2025), the following tasks were delegated to GenAI tools under full human supervision: proofreading and editing. The GenAI tool used was GPT-4.5 (OpenAI). Responsibility for the final manuscript lies entirely with the authors. GenAI tools are not listed as authors and do not bear responsibility for the final outcomes. GPT-4.5 was used only for language polishing (improving grammar, clarity, and conciseness) during manuscript preparation. The authors reviewed and edited all artificial intelligence–assisted text and take full responsibility for the final content. This use complies with the JMIR Publications editorial policy on the use of artificial intelligence tools.

Funding

RJBD is supported by the following institutions: (1) National Institute for Health and Care Research (NIHR) Biomedical Research Centre (BRC) at South London and Maudsley National Health Service (NHS) Foundation Trust and King’s College London; (2) Health Data Research UK, which is funded by the UK Medical Research Council, Engineering and Physical Sciences Research Council, Economic and Social Research Council, Department of Health and Social Care (England), Chief Scientist Office of the Scottish Government Health and Social Care Directorates, Health and Social Care Research and Development Division (Welsh government), Public Health Agency (Northern Ireland), British Heart Foundation, and Wellcome Trust; (3) the BigData@Heart consortium, funded by the Innovative Medicines Initiative 2 Joint Undertaking (which receives support from the European Union’s Horizon 2020 research and innovation program and the European Federation of Pharmaceutical Industries and Associations, in collaboration with 20 academic and industry partners and the European Society of Cardiology); (4) the NIHR University College London Hospitals BRC; (5) the NIHR BRC at South London and Maudsley (related to attendance at the American Medical Informatics Association) NHS Foundation Trust and King’s College London; (6) the UK Research and Innovation London Medical Imaging & Artificial Intelligence Centre for Value-Based Healthcare; (7) the NIHR Applied Research Collaboration South London at King’s College Hospital NHS Foundation Trust; and (8) the Wellcome Trust. The funders had no role in the design and conduct of the study; collection, management, analysis, and interpretation of the data; preparation, review, and approval of the manuscript; or decision to submit the manuscript for publication.

Data Availability

The datasets analyzed during this study are not publicly available because individual-level participant data from the All of Us Research Program cannot be publicly released under program privacy policies. The data are available to approved researchers through the All of Us Researcher Workbench [68] following registration, completion of required training, and attestation of the data use agreement.

Authors' Contributions

YZ had full access to all study data and takes responsibility for the integrity of the data and the accuracy of the data analysis. YZ, AAF, and RJBD contributed to the study concept and design. Data acquisition, analysis, and interpretation were performed by YZ, AAF, AP, HLE, RZ, CS, HS, HK, SS, and RJBD. YZ drafted the manuscript and conducted the statistical analysis. Funding was obtained by RJBD and AAF. All authors critically reviewed the manuscript for important intellectual content.

Conflicts of Interest

AP is an employee of Boehringer Ingelheim Pharmaceuticals, Inc. AAF and RJBD are cofounders of Onsentia. AAF holds shares in Google. All other authors declare no other conflicts of interest.

Multimedia Appendix 1

Supplementary figure and tables presenting Fitbit wear-time trajectories, diagnostic code definitions, additional model estimates, subgroup analyses, and sensitivity analyses.

DOCX File, 301 KB

  1. GBD 2019 Diseases and Injuries Collaborators. Global burden of 369 diseases and injuries in 204 countries and territories, 1990-2019: a systematic analysis for the Global Burden of Disease Study 2019. Lancet. Oct 17, 2020;396(10258):1204-1222. [CrossRef] [Medline]
  2. Walker ER, McGee RE, Druss BG. Mortality in mental disorders and global disease burden implications: a systematic review and meta-analysis. JAMA Psychiatry. Apr 2015;72(4):334-341. [CrossRef] [Medline]
  3. Cambridge OR, Knight MJ, Mills N, Baune BT. The clinical relationship between cognitive impairment and psychosocial functioning in major depressive disorder: a systematic review. Psychiatry Res. Nov 2018;269:157-171. [CrossRef] [Medline]
  4. Vancampfort D, Correll CU, Galling B, et al. Diabetes mellitus in people with schizophrenia, bipolar disorder and major depressive disorder: a systematic review and large scale meta-analysis. World Psychiatry. Jun 2016;15(2):166-174. [CrossRef] [Medline]
  5. Patel V, Chisholm D, Parikh R, et al. Addressing the burden of mental, neurological, and substance use disorders: key messages from Disease Control Priorities, 3rd edition. Lancet. Apr 2016;387(10028):1672-1685. [CrossRef]
  6. Firth J, Solmi M, Wootton RE, et al. A meta-review of “lifestyle psychiatry”: the role of exercise, smoking, diet and sleep in the prevention and treatment of mental disorders. World Psychiatry. Oct 2020;19(3):360-380. [CrossRef] [Medline]
  7. Kraus C, Kadriu B, Lanzenberger R, Zarate CAJ, Kasper S. Prognosis and improved outcomes in major depression: a review. Transl Psychiatry. Apr 3, 2019;9(1):127. [CrossRef] [Medline]
  8. Gurrieri R, Russomanno G, Gambini M, Pescini E, Sità G, Marazziti D. The duration of untreated illness in major depressive disorder: clinical relevance, predictors, and strategies for early intervention. Psychiatry Res Commun. Dec 2025;5(4):100231. [CrossRef]
  9. Young AS, Klap R, Sherbourne CD, Wells KB. The quality of care for depressive and anxiety disorders in the United States. Arch Gen Psychiatry. Jan 2001;58(1):55-61. [CrossRef] [Medline]
  10. Schuch FB, Vancampfort D, Firth J, et al. Physical activity and incident depression: a meta-analysis of prospective cohort studies. Am J Psychiatry. Jul 1, 2018;175(7):631-648. [CrossRef] [Medline]
  11. Pearce M, Garcia L, Abbas A, et al. Association between physical activity and risk of depression: a systematic review and meta-analysis. JAMA Psychiatry. Jun 1, 2022;79(6):550-559. [CrossRef] [Medline]
  12. Bizzozero-Peroni B, Díaz-Goñi V, Jiménez-López E, et al. Daily step count and depression in adults: a systematic review and meta-analysis. JAMA Netw Open. Dec 2, 2024;7(12):e2451208. [CrossRef] [Medline]
  13. Azevedo Da Silva M, Singh-Manoux A, Brunner EJ, et al. Bidirectional association between physical activity and symptoms of anxiety and depression: the Whitehall II study. Eur J Epidemiol. Jul 2012;27(7):537-546. [CrossRef] [Medline]
  14. Wüthrich F, Nabb CB, Mittal VA, Shankman SA, Walther S. Actigraphically measured psychomotor slowing in depression: systematic review and meta-analysis. Psychol Med. May 2022;52(7):1208-1221. [CrossRef] [Medline]
  15. Levihn-Coon A, Smits JAJ, Beevers CG. The longitudinal relations between physical activity, inflammation, and depression in the Health and Retirement Study. PLOS Ment Health. 2025;2(4):e0000211. [CrossRef] [Medline]
  16. Mahindru A, Patil P, Agrawal V. Role of physical activity on mental health and well-being: a review. Cureus. Jan 2023;15(1):e33475. [CrossRef] [Medline]
  17. Qiu S, Xing Z. Dose-response relationship between accelerometer-measured physical activity and depression: evidence from the UK Biobank. Transl Psychiatry. Aug 19, 2025;15:297. [CrossRef]
  18. Mohr DC, Zhang M, Schueller SM. Personal sensing: understanding mental health using ubiquitous sensors and machine learning. Annu Rev Clin Psychol. May 8, 2017;13:23-47. [CrossRef] [Medline]
  19. Zapata-Lamana R, Lalanza JF, Losilla JM, Parrado E, Capdevila L. mHealth technology for ecological momentary assessment in physical activity research: a systematic review. PeerJ. 2020;8:e8848. [CrossRef] [Medline]
  20. De Angel V, Lewis S, White K, et al. Digital health tools for the passive monitoring of depression: a systematic review of methods. NPJ Digit Med. Jan 11, 2022;5(1):3. [CrossRef] [Medline]
  21. Vallance JK, Winkler EA, Gardiner PA, Healy GN, Lynch BM, Owen N. Associations of objectively-assessed physical activity and sedentary time with depression: NHANES (2005-2006). Prev Med. Oct 2011;53(4-5):284-288. [CrossRef] [Medline]
  22. Zhang Y, Stewart C, Ranjan Y, et al. Large-scale digital phenotyping: identifying depression and anxiety indicators in a general UK population with over 10,000 participants. J Affect Disord. Apr 2025;375:412-422. [CrossRef]
  23. Huang J, Zhang Y, Zhou D, et al. Leveraging low-cost app-based step count data to assess depression and anxiety in university students: a cross-sectional mobile health study. J Affect Disord. Mar 15, 2026;397:120880. [CrossRef] [Medline]
  24. All of Us Research Program Investigators, Denny JC, Rutter JL, et al. The “All of Us” research program. N Engl J Med. Aug 15, 2019;381(7):668-676. [CrossRef] [Medline]
  25. Mayo KR, Basford MA, Carroll RJ, et al. The All of Us data and research center: creating a secure, scalable, and sustainable ecosystem for biomedical research. Annu Rev Biomed Data Sci. Aug 10, 2023;6:443-464. [CrossRef] [Medline]
  26. Master H, Kouame A, Marginean K, Basford M, Harris P, Holko M. How Fitbit data are being made available to registered researchers in All of Us Research Program. Pac Symp Biocomput. 2023;28:19-30. [Medline]
  27. User support hub. All of Us Research Program. URL: https://support.researchallofus.org/hc/en-us [Accessed 2026-04-28]
  28. Tudor-Locke C, Craig CL, Brown WJ, et al. How many steps/day are enough? For adults. Int J Behav Nutr Phys Act. Jul 28, 2011;8:79. [CrossRef] [Medline]
  29. Bull FC, Al-Ansari SS, Biddle S, et al. World Health Organization 2020 guidelines on physical activity and sedentary behaviour. Br J Sports Med. Dec 2020;54(24):1451-1462. [CrossRef] [Medline]
  30. Semanik P, Lee J, Pellegrini CA, Song J, Dunlop DD, Chang RW. Comparison of physical activity measures derived from the Fitbit Flex and the ActiGraph GT3X+ in an employee population with chronic knee symptoms. ACR Open Rheumatol. Jan 2020;2(1):48-52. [CrossRef] [Medline]
  31. Brewer W, Swanson BT, Ortiz A. Validity of Fitbit’s active minutes as compared with a research-grade accelerometer and self-reported measures. BMJ Open Sport Exerc Med. 2017;3(1):e000254. [CrossRef] [Medline]
  32. Kozey SL, Lyden K, Howe CA, Staudenmayer JW, Freedson PS. Accelerometer output and MET values of common physical activities. Med Sci Sports Exerc. Sep 2010;42(9):1776-1784. [CrossRef] [Medline]
  33. Master H, Annis J, Huang S, et al. Association of step counts over time with the risk of chronic disease in the All of Us research program. Nat Med. Nov 2022;28(11):2301-2308. [CrossRef] [Medline]
  34. Brittain EL, Han L, Annis J, et al. Physical activity and incident obesity across the spectrum of genetic risk for obesity. JAMA Netw Open. Mar 4, 2024;7(3):e243821. [CrossRef] [Medline]
  35. Yakdan S, Benedict B, Singh P, et al. Association of activity with the risk of developing musculoskeletal pain in the All of Us research program. J Pain. Oct 2025;35:105516. [CrossRef] [Medline]
  36. Zheng NS, Annis J, Master H, et al. Sleep patterns and risk of chronic disease as measured by long-term monitoring with commercial wearable devices in the All of Us research program. Nat Med. Sep 2024;30(9):2648-2656. [CrossRef] [Medline]
  37. Klann JG, Joss MAH, Embree K, Murphy SN. Data model harmonization for the All Of Us research program: transforming i2b2 data into the OMOP common data model. PLoS ONE. 2019;14(2):e0212463. [CrossRef] [Medline]
  38. Akhtar-Danesh N, Landeen J. Relation between depression and sociodemographic factors. Int J Ment Health Syst. Sep 4, 2007;1(1):4. [CrossRef] [Medline]
  39. Wagner M, Helmer C, Tzourio C, Berr C, Proust-Lima C, Samieri C. Evaluation of the concurrent trajectories of cardiometabolic risk factors in the 14 years before dementia. JAMA Psychiatry. Oct 1, 2018;75(10):1033-1042. [CrossRef] [Medline]
  40. Wu Z, Cribb L, Wolfe R, et al. Cardiometabolic trajectories preceding dementia in community-dwelling older individuals. JAMA Netw Open. Feb 3, 2025;8(2):e2458591. [CrossRef] [Medline]
  41. Jia J, Ning Y, Chen M, et al. Biomarker changes during 20 years preceding Alzheimer’s disease. N Engl J Med. Feb 22, 2024;390(8):712-722. [CrossRef] [Medline]
  42. Benjamini Y, Hochberg Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J R Stat Soc Ser B Methodol. Jan 1995;57(1):289-300. [CrossRef]
  43. Pede VB, Jaiswal SV, Sawant VA. Study of prodromal and residual symptoms of depression. Ind Psychiatry J. 2017;26(2):121-127. [CrossRef] [Medline]
  44. Iacoviello BM, Alloy LB, Abramson LY, Choi JY. The early course of depression: a longitudinal investigation of prodromal symptoms and their relation to the symptomatic course of depressive episodes. J Abnorm Psychol. Aug 2010;119(3):459-467. [CrossRef] [Medline]
  45. Benasi G, Fava GA, Guidi J. Prodromal symptoms in depression: a systematic review. Psychother Psychosom. 2021;90(6):365-372. [CrossRef] [Medline]
  46. Kredlow MA, Capozzoli MC, Hearon BA, Calkins AW, Otto MW. The effects of physical activity on sleep: a meta-analytic review. J Behav Med. Jun 2015;38(3):427-449. [CrossRef] [Medline]
  47. Gardner AW, Montgomery PS, Wang M, Shen B. Minimal clinically important differences in daily physical activity outcomes following supervised and home-based exercise in peripheral artery disease. Vasc Med. Apr 2022;27(2):142-149. [CrossRef] [Medline]
  48. Feig EH, Harnedy LE, Celano CM, Huffman JC. Increase in daily steps during the early phase of a physical activity intervention for type 2 diabetes as a predictor of intervention outcome. Int J Behav Med. Dec 2021;28(6):834-839. [CrossRef] [Medline]
  49. Solomon E, Rees T, Ukoumunne OC, Metcalf B, Hillsdon M. Personal, social, and environmental correlates of physical activity in adults living in rural south-west England: a cross-sectional analysis. Int J Behav Nutr Phys Act. Nov 21, 2013;10:129. [CrossRef] [Medline]
  50. Humpel N, Owen N, Leslie E. Environmental factors associated with adults’ participation in physical activity: a review. Am J Prev Med. Apr 2002;22(3):188-199. [CrossRef] [Medline]
  51. Salazar de Pablo G, Solmi M, Vaquerizo-Serrano J, et al. Primary prevention of depression: an umbrella review of controlled interventions. J Affect Disord. Nov 1, 2021;294:957-970. [CrossRef] [Medline]
  52. Hallgren M, Stubbs B, Vancampfort D, Lundin A, Jääkallio P, Forsell Y. Treatment guidelines for depression: greater emphasis on physical activity is needed. Eur Psychiatry. Feb 2017;40:1-3. [CrossRef] [Medline]
  53. Schuch FB, Vancampfort D, Richards J, Rosenbaum S, Ward PB, Stubbs B. Exercise as a treatment for depression: a meta-analysis adjusting for publication bias. J Psychiatr Res. Jun 2016;77:42-51. [CrossRef] [Medline]
  54. Kandola A, Ashdown-Franks G, Hendrikse J, Sabiston CM, Stubbs B. Physical activity and depression: towards understanding the antidepressant mechanisms of physical activity. Neurosci Biobehav Rev. Dec 2019;107:525-539. [CrossRef] [Medline]
  55. Mammen G, Faulkner G. Physical activity and the prevention of depression: a systematic review of prospective studies. Am J Prev Med. Nov 2013;45(5):649-657. [CrossRef] [Medline]
  56. Teychenne M, Ball K, Salmon J. Physical activity and likelihood of depression in adults: a review. Prev Med. May 2008;46(5):397-411. [CrossRef] [Medline]
  57. Caspersen CJ, Pereira MA, Curran KM. Changes in physical activity patterns in the United States, by sex and cross-sectional age. Med Sci Sports Exerc. 2000;32(9):1601-1609. [CrossRef]
  58. Guthold R, Stevens GA, Riley LM, Bull FC. Worldwide trends in insufficient physical activity from 2001 to 2016: a pooled analysis of 358 population-based surveys with 1·9 million participants. Lancet Glob Health. Oct 2018;6:e1077-e1086.
  59. Seidler ZE, Dawes AJ, Rice SM, Oliffe JL, Dhillon HM. The role of masculinity in men’s help-seeking for depression: a systematic review. Clin Psychol Rev. Nov 2016;49:106-118. [CrossRef] [Medline]
  60. Yousaf O, Grunfeld EA, Hunter MS. A systematic review of the factors associated with delays in medical and psychological help-seeking among men. Health Psychol Rev. 2015;9(2):264-276. [CrossRef] [Medline]
  61. Azevedo MR, Araújo CL, Reichert FF, Siqueira FV, da Silva MC, Hallal PC. Gender differences in leisure-time physical activity. Int J Public Health. 2007;52(1):8-15. [CrossRef] [Medline]
  62. Dohrn IM, Gardiner PA, Winkler E, Welmer AK. Device-measured sedentary behavior and physical activity in older adults differ by demographic and health-related factors. Eur Rev Aging Phys Act. 2020;17:8. [CrossRef] [Medline]
  63. Lohne-Seiler H, Hansen BH, Kolle E, Anderssen SA. Accelerometer-determined physical activity and self-reported health in a population of older adults (65-85 years): a cross-sectional study. BMC Public Health. Mar 27, 2014;14:284. [CrossRef] [Medline]
  64. Baillot A, Chenail S, Barros Polita N, et al. Physical activity motives, barriers, and preferences in people with obesity: a systematic review. PLoS One. 2021;16(6):e0253114. [CrossRef] [Medline]
  65. Wang PS, Simon G, Kessler RC. The economic burden of depression and the cost-effectiveness of treatment. Int J Methods Psychiatr Res. 2003;12(1):22-33. [CrossRef] [Medline]
  66. Le LKD, Esturas AC, Mihalopoulos C, et al. Cost-effectiveness evidence of mental health prevention and promotion interventions: a systematic review of economic evaluations. PLoS Med. May 2021;18(5):e1003606. [CrossRef] [Medline]
  67. Zhang Y, Folarin AA, Ranjan Y, et al. Assessing seasonal and weather effects on depression and physical activity using mobile health data. Npj Ment Health Res. Apr 18, 2025;4(1):11. [CrossRef] [Medline]
  68. All of Us Researcher Workbench. URL: https://workbench.researchallofus.org/login [Accessed 2026-04-30]


AoURP: All of Us Research Program
EHR: electronic health record
MDD: major depressive disorder
MVPA: moderate to vigorous physical activity
PA: physical activity


Edited by Stefano Brini; submitted 09.Feb.2026; peer-reviewed by Daun Shin, Elizabeth W Lampe; final revised version received 14.Apr.2026; accepted 15.Apr.2026; published 04.May.2026.

Copyright

© Yuezhou Zhang, Amos A Folarin, Hugh Logan Ellis, Rongrong Zhong, Callum Stewart, Heet Sankesara, Hyunju Kim, Shaoxiong Sun, Abhishek Pratap, Richard JB Dobson. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 4.May.2026.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.